var ctx = document.getElementById("canvas").getContext("2d");
class wingman_buff{
    constructor(top,left){
        this.dom=document.getElementById('wingman_buff')
        this.style='wingman'//僚机
        this.speed =2;
        this.xspeed=5
        this.top = top;
        this.left = left;
        this.width = 30;
        this.height = 34;
        this.time = null;
    }
    move = () => {
        this.top += this.speed;
    };
}
class power_up{
    constructor(top,left){
        this.dom=document.getElementById('power_up')
        this.style='power_up'//能量提升
        this.speed =2;
        this.xspeed=5
        this.top = top;
        this.left = left;
        this.width = 40;
        this.height = 32;
        this.time = null;
    }
    
    move = () => {
        this.top += this.speed;
    };
}
export {wingman_buff,power_up}